package com.google.gwt.mobile.phonegap.factory;

import com.google.gwt.mobile.phonegap.DeviceType;
import com.google.gwt.resources.client.TextResource;

/**
 * The Class PhoneGapNativeImplBase.
 */
public abstract class PhoneGapNativeImplBase implements PhoneGapNative {

  /*
   * (non-Javadoc)
   * 
   * @see com.google.gwt.mobile.phonegap.factory.PhoneGapNative#getDeviceType()
   */
  @Override
  public abstract DeviceType getDeviceType();

  /*
   * (non-Javadoc)
   * 
   * @see com.google.gwt.mobile.phonegap.factory.PhoneGapNative#getResource()
   */
  @Override
  public abstract TextResource getResource();

  /*
   * (non-Javadoc)
   * 
   * @see com.google.gwt.mobile.phonegap.factory.PhoneGapNative#toDebugString()
   */
  @Override
  public String toDebugString() {
    return "Device type [" + getDeviceType() + "]";
  }
}
